﻿using System;

namespace BlazorAdmin.Models
{
    /// <summary>
    /// Jwt用户数据
    /// </summary>
    public class JwtUserData
    {
        /// <summary>
        /// 获得/设置 系统登录用户名
        /// </summary>
        public virtual string UserName { get; set; }

        /// <summary>
        /// 获取/设置 用户原始登录密码
        /// </summary>
        public virtual string Password { get; set; }
        /// <summary>
        /// 是否记住了密码
        /// </summary>
        public virtual bool IsRemember { get; set; }
        /// <summary>
        /// 登录的域名
        /// </summary>
        public virtual string Domain { get; set; }
        /// <summary>
        /// 更新JWT Token的时间
        /// </summary>
        public DateTime JwtTime { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpiredTime { get; set; } = DateTime.Now.AddHours(1);
    }
}
